package cn.com.connext.scrm.web.rest.errors;

import com.connext.common.exception.ErrorCode;

/**
 * Created by YANG205 on 2018/6/27.
 */
public class MyErrorCode extends ErrorCode {

    public static final ErrorCode ERROR_ID_EMPTY = new MyErrorCode("error.id.empty", "the 'id' is empty!");
    public static final ErrorCode ERROR_USERID_EMPTY = new MyErrorCode("error.userId.empty", "the 'userId' is empty!");
    public static final ErrorCode ERROR_NOTE_NOT_EXIST = new MyErrorCode("error.note.not.exist", "the note is not exist!");
    public static final ErrorCode ERROR_NOTEID_EMPTY = new MyErrorCode("error.noteId.empty", "the 'noteId' is empty!");
    public static final ErrorCode ERROR_UNIONID_EMPTY = new MyErrorCode("error.unionId.empty", "the 'unionId' is empty!");
    public static final ErrorCode ERROR_AUTHORID_EMPTY = new MyErrorCode("error.authorId.empty", "the 'authorId' is empty!");
    public static final ErrorCode ERROR_REPLYTYPE_EMPTY = new MyErrorCode("error.replyType.empty", "the 'replyType' is empty!");
    public static final ErrorCode ERROR_REPLYUSERID_EMPTY = new MyErrorCode("error.replyUserId.empty", "the 'replyUserId' is empty!");
    public static final ErrorCode ERROR_REPLYCOMMENTID_EMPTY = new MyErrorCode("error.replyCommentId.empty", "the 'replyCommentId' is empty!");
    public static final ErrorCode ERROR_COMMENTID_EMPTY = new MyErrorCode("error.commentId.empty", "the 'commentId' is empty!");
    public static final ErrorCode ERROR_COMMENT_NOT_EXIST = new MyErrorCode("error.comment.not.exist", "the comment is not exist!");
    public static final ErrorCode ERROR_NOTE_HASAUDITED = new MyErrorCode("error.note.hasAudited", "the note has been audited!");
    public static final ErrorCode ERROR_NOTETYPE_EMPTY = new MyErrorCode("error.noteType.empty", "the 'noteType' is empty!");
    public static final ErrorCode ERROR_MEMBER_NOT_EXIST = new MyErrorCode("error.member.not.exist", "the member is not exist!");
    public static final ErrorCode ERROR_TYPE_EMPTY = new MyErrorCode("error.type.empty", "the 'type' is empty!");
    public static final ErrorCode ERROR_INTERACTION_NOT_EXIST = new MyErrorCode("error.interaction.not.exist", "the interaction is not exist!");
    public static final ErrorCode ERROR_INTERACTION_CANNOT_CREATE = new MyErrorCode("error.interaction.cannot.create", "the interaction can not be created!");
    public static final ErrorCode ERROR_INPUT = new MyErrorCode("error.input", "入参异常!");
    public static final ErrorCode ERROR_DATA_ISNULL = new MyErrorCode("error.data.isnull", "error.data.isnull");
    public static final ErrorCode ERROR_MEMBER_IS_BAN = new MyErrorCode("error.member.is.ban", "error.member.is.ban");
    public static final ErrorCode ERROR_MESSAGE_ISSEND = new MyErrorCode("error.message.issend", "error.message.issend");
    public static final ErrorCode ERROR_MESSAGE_ISNULL = new MyErrorCode("error.message.isnull", "error.message.isnull");
    public static final ErrorCode ERROR_MOBILE_FORMAT = new MyErrorCode("error.mobile.format", "the mobile format error!");

    public MyErrorCode(String code, String message) {
        super(code, message);
    }
}
